package com.wanxi.test;
//考试奖励
import java.util.Scanner;


public class ExamRewards {
    public static void main(String[] args) {

        int scores1 = 100;
        int scores2 = 95;
        int scores3 = 90;
        int scores4 = 80;


        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入成绩： ");
        int scores = scanner.nextInt();

        if (scores >= scores2 && scores <= scores1) {
            System.out.println("自行车");
            return;
        }

        if (scores >= scores3 && scores < scores2) {
            System.out.println("城堡玩具");
            return;
        }

        if (scores >= scores4 && scores < scores3) {
            System.out.println("机器人玩具");
            return;
        }
        if (scores < scores4 || scores > scores1) {
            System.out.println("打一顿");
            return;
        }


        scanner.close();
    }
}
